//
//  FactoryNewProductRightTableViewCell.m
//  ShoppingExperience
//
//  Created by LiYinDi on 15/8/26.
//  Copyright (c) 2015年 RuiBen. All rights reserved.
//

#import "FactoryNewProductRightTableViewCell.h"

@implementation FactoryNewProductRightTableViewCell

- (void)awakeFromNib {
    // Initialization code
    _productImage.layer.borderColor=[[UIColor colorWithRed:239.0f/255.0f green:239.0f/255.0f blue:239.0f/255.0f alpha:1] CGColor];
    _productImage.layer.borderWidth= 1.0f;
    _productImage.layer.masksToBounds = YES;
    _productImage.layer.cornerRadius=10;
}
-(IBAction)addToShopCart:(UIButton *)sender
{
    if ([self.delegate respondsToSelector:@selector(addToSaleClick:)]) {
        
        [self.delegate addToSaleClick:sender.tag];
    }
    
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
